package nciae.db.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import nciae.db.pojo.entity.Homework;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.DeleteMapping;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import nciae.db.pojo.entity.Homework;
import java.util.List;

@Component
@Mapper
public interface HomeworkMapper extends BaseMapper<Homework> {
//    void homeworkCountCorrect(Integer id, int isRead);

    /**
     * 修正作业人数
     * @param id
     * @param isRead
     */
    void homeworkCountCorrect(Integer id, Integer isRead);

}
